Optimal. Leaf size=283 \[ \frac {(b c-a d) F_1\left (1+m;-\frac {3}{2},1;2+m;-\frac {d (a+b \tan (e+f x))}{b c-a d},\frac {a+b \tan (e+f x)}{a-i b}\right ) (a+b \tan (e+f x))^{1+m} \sqrt {c+d \tan (e+f x)}}{2 b (i a+b) f (1+m) \sqrt {\frac {b (c+d \tan (e+f x))}{b c-a d}}}-\frac {(b c-a d) F_1\left (1+m;-\frac {3}{2},1;2+m;-\frac {d (a+b \tan (e+f x))}{b c-a d},\frac {a+b \tan (e+f x)}{a+i b}\right ) (a+b \tan (e+f x))^{1+m} \sqrt {c+d \tan (e+f x)}}{2 (i a-b) b f (1+m) \sqrt {\frac {b (c+d \tan (e+f x))}{b c-a d}}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.26, antiderivative size = 283, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 4, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.148, Rules used = {3656, 926, 142,
141} \begin {gather*} \frac {(b c-a d) \sqrt {c+d \tan (e+f x)} (a+b \tan (e+f x))^{m+1} F_1\left (m+1;-\frac {3}{2},1;m+2;-\frac {d (a+b \tan (e+f x))}{b c-a d},\frac {a+b \tan (e+f x)}{a-i b}\right )}{2 b f (m+1) (b+i a) \sqrt {\frac {b (c+d \tan (e+f x))}{b c-a d}}}-\frac {(b c-a d) \sqrt {c+d \tan (e+f x)} (a+b \tan (e+f x))^{m+1} F_1\left (m+1;-\frac {3}{2},1;m+2;-\frac {d (a+b \tan (e+f x))}{b c-a d},\frac {a+b \tan (e+f x)}{a+i b}\right )}{2 b f (m+1) (-b+i a) \sqrt {\frac {b (c+d \tan (e+f x))}{b c-a d}}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 141
Rule 142
Rule 926
Rule 3656
Rubi steps
\begin {align*} \int (a+b \tan (e+f x))^m (c+d \tan (e+f x))^{3/2} \, dx &=\frac {\text {Subst}\left (\int \frac {(a+b x)^m (c+d x)^{3/2}}{1+x^2} \, dx,x,\tan (e+f x)\right )}{f}\\ &=\frac {\text {Subst}\left (\int \left (\frac {i (a+b x)^m (c+d x)^{3/2}}{2 (i-x)}+\frac {i (a+b x)^m (c+d x)^{3/2}}{2 (i+x)}\right ) \, dx,x,\tan (e+f x)\right )}{f}\\ &=\frac {i \text {Subst}\left (\int \frac {(a+b x)^m (c+d x)^{3/2}}{i-x} \, dx,x,\tan (e+f x)\right )}{2 f}+\frac {i \text {Subst}\left (\int \frac {(a+b x)^m (c+d x)^{3/2}}{i+x} \, dx,x,\tan (e+f x)\right )}{2 f}\\ &=\frac {\left (i (b c-a d) \sqrt {c+d \tan (e+f x)}\right ) \text {Subst}\left (\int \frac {(a+b x)^m \left (\frac {b c}{b c-a d}+\frac {b d x}{b c-a d}\right )^{3/2}}{i-x} \, dx,x,\tan (e+f x)\right )}{2 b f \sqrt {\frac {b (c+d \tan (e+f x))}{b c-a d}}}+\frac {\left (i (b c-a d) \sqrt {c+d \tan (e+f x)}\right ) \text {Subst}\left (\int \frac {(a+b x)^m \left (\frac {b c}{b c-a d}+\frac {b d x}{b c-a d}\right )^{3/2}}{i+x} \, dx,x,\tan (e+f x)\right )}{2 b f \sqrt {\frac {b (c+d \tan (e+f x))}{b c-a d}}}\\ &=\frac {(b c-a d) F_1\left (1+m;-\frac {3}{2},1;2+m;-\frac {d (a+b \tan (e+f x))}{b c-a d},\frac {a+b \tan (e+f x)}{a-i b}\right ) (a+b \tan (e+f x))^{1+m} \sqrt {c+d \tan (e+f x)}}{2 b (i a+b) f (1+m) \sqrt {\frac {b (c+d \tan (e+f x))}{b c-a d}}}-\frac {(b c-a d) F_1\left (1+m;-\frac {3}{2},1;2+m;-\frac {d (a+b \tan (e+f x))}{b c-a d},\frac {a+b \tan (e+f x)}{a+i b}\right ) (a+b \tan (e+f x))^{1+m} \sqrt {c+d \tan (e+f x)}}{2 (i a-b) b f (1+m) \sqrt {\frac {b (c+d \tan (e+f x))}{b c-a d}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [F]
time = 8.37, size = 0, normalized size = 0.00 \begin {gather*} \int (a+b \tan (e+f x))^m (c+d \tan (e+f x))^{3/2} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.15, size = 0, normalized size = 0.00 \[\int \left (a +b \tan \left (f x +e \right )\right )^{m} \left (c +d \tan \left (f x +e \right )\right )^{\frac {3}{2}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (a + b \tan {\left (e + f x \right )}\right )^{m} \left (c + d \tan {\left (e + f x \right )}\right )^{\frac {3}{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int {\left (a+b\,\mathrm {tan}\left (e+f\,x\right )\right )}^m\,{\left (c+d\,\mathrm {tan}\left (e+f\,x\right )\right )}^{3/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________